package com.gxa.insurance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Min
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Refund {
    @ApiModelProperty(name = "id",value = "主键自增长id",dataType = "int")
    private Integer  id;
    @ApiModelProperty(name = "orderId",value = "订单的id",dataType = "int")
    private String  orderId;
    @ApiModelProperty(name = "client",value = "客户",dataType = "string")
    private String  client;
    @ApiModelProperty(name = "driver",value = "本订单的id",dataType = "string")
    private String  driver;
    @ApiModelProperty(name = "money",value = "订单金额",dataType = "string")
    private String  money;
    @ApiModelProperty(name = "refMoney",value = "退款金额",dataType = "string")
    private String  refMoney;
    @ApiModelProperty(name = "state",value = "订单状态",dataType = "int")
    private Integer  state;
    @ApiModelProperty(name = "reason",value = "理由",dataType = "string")
    private String  reason;
    @ApiModelProperty(name = "applyTime",value = "申请时间",dataType = "Date")
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date  applyTime;
    @ApiModelProperty(name = "isReturn",value = "是否退款",dataType = "Boolean")
    private Boolean  isReturn;
    @ApiModelProperty(name = "isRefuse",value = "是否驳回",dataType = "Boolean")
    private Boolean  isRefuse;
    @ApiModelProperty(name = "order",value = "order对象",dataType = "Order")
    private Order order;
}
